package com.nfc.webapp.controllers;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class WelcomeController {

	@RequestMapping(value="/welcome",method = RequestMethod.GET)
	public ModelAndView index() {

		ModelAndView mv = new ModelAndView("welcome/welcome");
		mv.addObject("pg_hd", "NFC Portal~ ");
		return mv;
	}
}
